/********************************************************************
	Rhapsody	: 7.5 
	Login		: KBE
	Component	: DefaultComponent 
	Configuration 	: CodeConfig
	Model Element	: AlarmEvent
//!	Generated Date	: Fri, 7, Sep 2012  
	File Path	: DefaultComponent\CodeConfig\AlarmEvent.cpp
*********************************************************************/

//## auto_generated
#include "AlarmEvent.h"
//## auto_generated
#include "EHANDLE.h"
//## auto_generated
#include "Reactor.h"
//## package Default

//## class AlarmEvent
AlarmEvent::AlarmEvent(Reactor * reactor) {
    //#[ operation AlarmEvent(Reactor *)
    itsReactor = reactor;
    eventType = ALARM_EVENT;
    createHandle();
    //#]
}

AlarmEvent::AlarmEvent() {
}

AlarmEvent::~AlarmEvent() {
}

void AlarmEvent::handleAlarm(EHANDLE& handle) {
    //#[ operation handleAlarm(EHANDLE)
    AlarmAction();
    //#]
}

void AlarmEvent::handleLog(EHANDLE& handle) {
    //#[ operation handleLog(EHANDLE)
    //#]
}

void AlarmEvent::handlePatient(EHANDLE& handle) {
    //#[ operation handlePatient(EHANDLE)
    //#]
}

void AlarmEvent::AlarmAction() {
    //#[ operation AlarmAction()
    cout << "Alarm" << endl;
    //#]
}

/*********************************************************************
	File Path	: DefaultComponent\CodeConfig\AlarmEvent.cpp
*********************************************************************/
